#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

#include <QMessageBox>
#include "SANClient.h"



namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_pushButton_pressed();

    void on_pushButton_2_pressed();

    void on_pushButton_3_pressed();

    void on_pushButton_4_pressed();

    void on_pushButton_5_pressed();

    void on_pushButton_6_pressed();

    void on_pushButton_7_pressed();

    void on_pushButton_9_pressed();

    void on_pushButton_8_pressed();

public slots:

    void ClientConnected(bool aStatus);

    void ClientAccepted(bool aStatus);

    void ServerStart(bool aStatus);

    void DataSent(char *aBuf);

    void DisplaySortedData(QString);

private:
    Ui::MainWindow *ui;
    SANClient   *iSANClient;
    SANReceive  *iSANReceive;
};

#endif // MAINWINDOW_H
